package org.example.infrastructure.persistent.dao;

import cn.bugstack.middleware.db.router.annotation.DBRouter;
import org.apache.ibatis.annotations.Mapper;
import org.example.infrastructure.persistent.po.RaffleActivityAccountMonth;
@Mapper
public interface IRaffleActivityAccountMonthDao {
    void insertActivityMonthAccount(RaffleActivityAccountMonth raffleActivityAccountMonth);

    int updateActivityMonthAccountSubtractionQuota(RaffleActivityAccountMonth raffleActivityAccountMonth);
    @DBRouter
    RaffleActivityAccountMonth queryActivityAccountMonthByUserId(RaffleActivityAccountMonth raffleActivityAccountMonthReq);

    void addAccountQuota(RaffleActivityAccountMonth raffleActivityAccountMonth);

}
